package com.sss.hloster01;

public class TestDriver {

	public static void main(String[] args) {
		// 创建一个仓库对象
		WarehouseStack whStack = new WarehouseStack();
		Producer p = new Producer(whStack);
		Thread c = new Thread(new Consumer(whStack));
		p.start();
		c.start();
	}

}
